package com.offcn.service;

import com.offcn.mapper.uerDao;
import com.offcn.pojo.user;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
@Controller
public class userService {
    @Autowired
    private uerDao uerDao;
    @RequestMapping("t1")
    public void show(){
        List<user> s = uerDao.show();
        System.out.printf(s.toString());
    }
}
